package com.app.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ym_form_remark")
@JsonInclude(JsonInclude.Include.NON_NULL)

public class FormRemarkModel {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer departmentId;
    private Integer formId;//表单id
    private Integer type;//类型
    private String content;//问题描述
    private String resultUrl;
    @TableField(exist = false)
    private String[] url;
//    private Integer status;//数据状态ID,category
    private Timestamp crtTime;
    private Timestamp upTime;
    @TableField(exist = false)
    private String userName;
    @TableField(exist = false)
    private String faceUrl;
    @TableField(exist = false)
    private String crtTimeText;// 所属人名字字段
    @TableField(exist = false)
    private String departmentName;// 所属部门字段
    @TableField(exist = false)
    private String typeText;// 所属部门字段
    @TableField(exist = false)
    private List<FormUrlModel> picList;// 字段
    @TableField(exist = false)
    private List<FormUrlModel> videoList;// 字段
    @TableField(exist = false)
    private Integer count;
}
